#ifndef __JPEG_H_
#define __JPEG_H_

#ifdef __cplusplus
extern "C" {
#endif

#include <stdio.h>

#define JPEG_FAILURE    -1
#define JPEG_SUCCESS     0

	extern int jpeg_create(FILE *file, image *imgp);
	extern int jpeg_draw(image *imgp, window *winp);
	extern int jpeg_delete(image *imgp);

#ifdef __cpluscplus
}
#endif
#endif
